﻿using System;
using Isaac.Joy.Identity.Module;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Isaac.Joy.Identity.Model.Test
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            var fvalue = new FlagsValue(3);
            //Assert.AreEqual(fvalue.ToString(), "001");

            var fvalue2 = FlagsValue.CreateByIds("1,2,3,");
            Assert.AreEqual(fvalue.ToString(), "001");
        }
    }
}
